
# 输出数字三角形
a = 1
while a<=5:
    b = 1
    while b <=a:
        print(b,end="")
        b+=1
    print()
    a +=1